package com.jbp.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 补贴记录(PatchRecord)实体
 * @author cc
 * @since 2020-08-05 01:24:30
 */
@ApiModel(value="PatchRecord")
@Data
public class PatchRecord implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;
    private Integer userId;

    //抽奖类型
    @ApiModelProperty(value="抽奖类型")    
    
    private String poolType;

    //总投入
    @ApiModelProperty(value="总投入")
    private BigDecimal pay;


    //总产出
    @ApiModelProperty(value="总产出")    
    
    private BigDecimal income;

    private BigDecimal totalPay;
    private BigDecimal totalIncome;

    //补贴次数
    @ApiModelProperty(value="补贴次数")    
    
    private Integer times;

        
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date updateTime;

}